﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IOA.MES.Client.Models.Response
{
    public class QueryMachinesResponse
    {
        /// <summary>
        /// 班次列表
        /// </summary>
        public List<Machine> Machines { get; set; } = new List<Machine>();
    }

    /// <summary>
    /// 设备列表
    /// </summary>
    public class Machine
    {
        /// <summary>
        /// 设备ID
        /// </summary>
        public int MachineId { get; set; }

        /// <summary>
        /// 设备编号
        /// </summary>
        public string MachineNo { get; set; }

        /// <summary>
        /// 设备名称
        /// </summary>
        public string MachineName { get; set; }

        /// <summary>
        /// 车间ID
        /// </summary>
        public string WorkshopCode { get; set; }

        /// <summary>
        /// 车间名称
        /// </summary>
        public string WorkshopName { get; set; }

        /// <summary>
        /// 设备类型
        /// </summary>
        public string CNMachineType { get; set; }

        /// <summary>
        /// IVSql
        /// </summary>
        public string IvSql { get; set; }

        ///<Summary>
        /// 文件类型（0:mdb，1:csv）
        ///</Summary>
        public int FileType { get; set; }
    }
}
